package task;

import cn.hutool.core.date.DateTime;
import cn.hutool.core.date.DateUtil;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.util.List;

/**
 * TODO
 *
 * @author zhanggm
 * @date 2021/5/10 10:03
 */
@Slf4j
@Component
@EnableScheduling
public class OrderCancelTask {


    @Scheduled(cron = "0 0/60 * * * ?")
    public void orderCancel() {

    }

}
